@extends('layouts.site')
@if($activity)
@section('content')
    <article id="main">
        <header class="special container">
            <span class="icon fa-trophy"></span>
            <h2><strong>{{$activity->name}}</strong></h2>
        </header>

        <section class="wrapper style4 container">
            <a href="#" class="image featured">
                <img src="{{$storage}}{{$activity->image}}" alt="{{$activity->name}}">
            </a>
            <table>
                <tr>
                    <td>时间</td>
                    <td>{{$activity->start_time}}~{{$activity->end_time}}</td>
                </tr>
            </table>
            <div>
                {!! $activity->description !!}
            </div>
        </section>
    </article>
@endsection
@endif